﻿using YanYiSmartTechnology.Module.Views;
using Prism.Ioc;
using Prism.Modularity;
using Prism.Regions;
using TransformerSystem.Core;

namespace YanYiSmartTechnology.Module
{
    public class YanYiModule : IModule
    {
        public void OnInitialized(IContainerProvider containerProvider)
        {
            containerProvider.Resolve<IRegionManager>().RegisterViewWithRegion(SystemResource.Nav_MainContent, typeof(Home));
        }

        public void RegisterTypes(IContainerRegistry containerRegistry)
        {
            containerRegistry.RegisterForNavigation<Home>();
        }
    }
}